
#include "main.h"
void _tx_initialize_low_level()
{

	__set_PRIMASK(1);

	HAL_SYSTICK_Config(SystemCoreClock / (1000U / (uint32_t)uwTickFreq));

	HAL_NVIC_SetPriority(SVCall_IRQn, 15, 0U);
	HAL_NVIC_SetPriority(PendSV_IRQn, 15, 0U);
	HAL_NVIC_SetPriority(SysTick_IRQn, 4, 0U);
	HAL_NVIC_EnableIRQ(SVCall_IRQn);
	HAL_NVIC_EnableIRQ(PendSV_IRQn);
	HAL_NVIC_EnableIRQ(SysTick_IRQn);
}

extern void _tx_timer_interrupt();
void SysTick_Handler()
{
	_tx_timer_interrupt();
}
